
{lib_dirs, ["deps"]}.
{erl_opts, [debug_info, fail_on_warning, {platform_define, "^[0-9]+", namespaced_types}]}.
{clean_files, ["logs", "build", "include/hamcrest.hrl"]}.

{plugin_dir, "priv/build/plugins"}.
{plugins, [header_generator, eqc_resolver]}.

{xref_checks, []}.
{xref_queries,
    [{"((XC - UC) || (XU - X - B))",[]},  %% calls to undefined functions
     {"(L - LU)", []},                    %% local unused
     {"(LU * (X - XU))", [                %% exported functions only used locally
        {hamcrest,assert_that,2},         %% NB: we're a library so this is expected...
        {hamcrest,assert_that,3},
        {hamcrest,check,2},
        {hamcrest,describe,2},
        {hamcrest,heckle,2},
        {hamcrest,match,3},
        {hamcrest_matchers,check_member,2}, %% called via apply/3
        {hamcrest_matchers,equal_to,1},
        {hamcrest_matchers,foreach,1},
        {hamcrest_matchers,is_not,1},
        {hamcrest_matchers,match_mfa,3},
        {hamcrest_matchers,reverse_match_mfa,3}]},
     {"(DF * (XU + LU))", []}]}.
